<?php
if($_POST) {

    include 'apis/digu.php';

    $config = array(
            'format' => 'json'
        );
    $digu = new api_digu($config);

    $digu->send_msg(&$_POST);

}
echo urldecode('API+Update+%E6%B5%8B%E8%AF%95+1');
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<form method="post" action="gui.php">
    <h3>What are you doing?</h3>
    <p><input type="file" name="image0" /></p>
    <p><textarea id="text" name="text" rows="8" cols="50">API Update 测试 1</textarea></p>
    <p><input type="submit" value="Send message" /></p>
</form>